package top.tenebrous.yzl.context;

/**
 * @Description:
 * @Project: jestic-server
 * @Package: com.tenebrous.jestic.context
 * @Author: zhangya
 * @CreateTime: 2023-06-30  15:44
 * @Version: 1.0.0
 */
public interface BaseRequest {

    /**
     * @description:
     * 启动任务
     *
     * @author: zhangya
     * @date: 2023/6/30 15:45
     * @param:
     * @return:
     **/
    void start();

    /**
     * @description:
     * 结束任务
     *
     * @author: zhangya
     * @date: 2023/6/30 15:45
     * @param:
     * @return:
     **/
    void end();

    /**
     * @description:
     * 获取耗时
     *
     * @author: zhangya
     * @date: 2023/6/30 15:46
     * @param:
     * @return:
     **/
    Long getTime();

    /**
     * @description:
     * 修改节点
     *
     * @author: zhangya
     * @date: 2023/6/30 15:45
     * @param:
     * @return:
     **/
    void modifyNode();

}
